Skip to content

Restore commented out acceptance test scenario - #3505

Merged
st3penta merged 1 commit into
conforma:mainfrom
simonbaird:restore-commented-out-test
Aug 19, 2026
Merged

Restore commented out acceptance test scenario#3505
st3penta merged 1 commit into
conforma:mainfrom
simonbaird:restore-commented-out-test

Conversation

@simonbaird

Copy link
Copy Markdown
Member

I believe it was failing at some point, so it was commented out. https://redhat.atlassian.net/browse/EC-1023 is meant to describe the reason for the failure.

It's not clear to me what the detailed story is, but this comment and the revert PR it is part of are definitely clues: #2176 (comment)

Seems to work fine now, so let's bring it back. See also 4461812 to help understand the purpose of the test.

I believe it was failing at some point, so it was commented out.
https://redhat.atlassian.net/browse/EC-1023 is meant to describe the
reason for the failure.

It's not clear to me what the detailed story is, but this comment
and the revert PR it is part of are definitely clues:
conforma#2176 (comment)

Seems to work fine now, so let's bring it back. See also
conforma@4461812
to help understand the purpose of the test.
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 35dff9b5-9b3a-438c-b48e-299c86c73293

📥 Commits

Reviewing files that changed from the base of the PR and between 09cafb4 and 2d699e2.

📒 Files selected for processing (1)
  • features/validate_image.feature

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The pull request re-enables an acceptance scenario for validating a signed snapshot with ten components and ten policy sources. The scenario checks successful validation and matching JSON output.

Changes

Snapshot validation

Layer / File(s) Summary
Many components and sources acceptance test
features/validate_image.feature
The active scenario configures ten policy sources with distinct ruleData patches, creates a signed ten-component snapshot, validates it, and checks exit status 0 with matching JSON output.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 2d699

This change restores a previously commented-out acceptance-test scenario without introducing a merge-blocking product or production risk; it is merge-ready after normal checks and review.

Suggested reviewers: cuipinghuo, robnester-rh

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states that the commented-out acceptance test scenario is restored.
Description check ✅ Passed The description explains the change, provides context for the prior failure, and links the related ticket and historical references.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@qodo-for-conforma

Copy link
Copy Markdown

PR Summary by Qodo

Restore multi-source image validation acceptance scenario

🧪 Tests 🕐 Less than 5 minutes

Grey Divider

AI Description

• Re-enables acceptance coverage for validation with ten components and policy sources.
• Verifies successful execution and stable JSON output against the existing snapshot.
Diagram

graph TD
  S["Acceptance scenario"] --> K["Known key"] --> R["Policy repository"] --> P["Ten policy sources"] --> V["Image validation"] --> A["Status and snapshot"]
  S --> C["Ten components"] --> V
Loading
High-Level Assessment

Re-enabling the existing scenario is the most direct approach because its fixtures, command invocation, and expected snapshot already exist. Rewriting or splitting it would add churn without improving coverage for the restored multi-component, multi-source behavior.

Files changed (1) +19 / -20

Tests (1) +19 / -20
validate_image.featureRe-enable many-components-and-sources acceptance coverage +19/-20

Re-enable many-components-and-sources acceptance coverage

• Uncomments the acceptance scenario that validates ten signed components against ten policy sources with distinct rule data. The scenario asserts successful command completion and JSON output matching the existing snapshot.

features/validate_image.feature

@fullsend-ai-review

fullsend-ai-review Bot commented Aug 18, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 7:57 PM UTC · Completed 8:08 PM UTC

Commit: 87c4a29 · View workflow run →

@qodo-for-conforma

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can keep summaries lean with Finding overflow, which tucks the rest behind 'View more'

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@fullsend-ai-review

Copy link
Copy Markdown

Looks good to me

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Aug 18, 2026
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
acceptance 54.42% <ø> (+0.04%) ⬆️
generative 12.28% <ø> (ø)
integration 23.59% <ø> (ø)
unit 72.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@st3penta st3penta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, i'll revert the snapshot cleanup in #3489

@st3penta
st3penta merged commit 7d116df into conforma:main Aug 19, 2026
23 checks passed
@fullsend-ai-retro

fullsend-ai-retro Bot commented Aug 19, 2026

Copy link
Copy Markdown

🤖 Finished Retro · ✅ Success · Started 9:31 AM UTC · Completed 9:41 AM UTC

Commit: 87c4a29 · View workflow run →

@fullsend-ai-retro

Copy link
Copy Markdown

Retro: PR #3505 — Restore commented out acceptance test scenario

This was a straightforward, well-functioning workflow. PR #3505 was a human-authored, single-file change by simonbaird that uncommented a previously disabled Gherkin acceptance test scenario in features/validate_image.feature (19 additions, 20 deletions). The review agent ran once, correctly identified the change as trivial/mechanical, and approved it. Human reviewer st3penta also approved with a useful follow-up note. The reviews were fully aligned — no false positives, no unnecessary change requests.

Observations (no new proposals — all covered by existing issues)

1. Sonnet model failure caused ~2.5 min delay. The review orchestrator dispatched two sub-agents (style-conventions, intent-coherence) targeting a Sonnet-tier model on Vertex, but the model was unavailable. After the failure, they were redispatched on Opus, adding ~2.5 minutes of wasted wall time. This is additional evidence for fullsend-ai/fullsend#1771 (model fallback for unavailable models), fullsend-ai/agents#379 (sub-agent model fallback), and fullsend-ai/fullsend#423 (ensure all required models are enabled in GCP).

2. Full sub-agent pipeline ran on a trivial uncomment PR (~12 min, all Opus). The review agent classified the PR as "small" but still dispatched 3 dimension sub-agents + 1 challenger, all ending up on Opus after the Sonnet fallback. For a 39-line change that just removes comment markers from existing test code, a lightweight fast-path would have been appropriate. This is additional evidence for fullsend-ai/agents#301 (lightweight path for trivial/mechanical changes) and fullsend-ai/fullsend#5777 (model routing based on diff complexity, not just author type).

3. Challenger sub-agent worked well. The adversarial reviewer correctly downgraded a borderline indentation finding from low/actionable to info/not-actionable, preventing a false-positive comment. This is the quality mechanism working as designed.

Autonomy assessment

The review agent and human reviewer reached identical conclusions (approve, no comments on code). For this class of change — re-enabling existing commented-out test code with no logical modifications — the review agent demonstrated appropriate judgment. However, this is a minimal-risk scenario that doesn't provide strong signal about autonomy for more complex changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge All reviewers approved — ready to merge size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants